<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
	var base = "${base}/";
</script>
<!--框架必需-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery-1.7.1.js"></script>
<script type="text/javascript" src="${base}/scripts/framework.js"></script>
<link href="${base}/css/import_basic.css" rel="stylesheet" type="text/css"/>
<link href="${base}/css/sky/style.css" rel="stylesheet" type="text/css" />
<!--表单验证脚本-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery.validate.min.js"></script>
<script src="${base}/js/verify-role-add.js" type="text/javascript"></script>
</head>
<body>
<div class="position">
		<div class="center">
			<div class="left">
				<div class="right">
					<span>当前位置：角色管理 >> 新增角色</span>
				</div>
			</div>
		</div>
	</div>
<div class="box1" whiteBg="true">
	<form action="${base}/oauth/roles/addRoles.action" id="add_role_form" target="frmright">
	<table class="tableStyle" transMode="true">
		<tr>
			<input type="hidden" id="roles.id" value="${(roles.name)!''}"/>
			<td>角色名称：</td>
			<td>
				<input type="text" id="roles.name" name="roles.name" class="text_style"/>
				<span class="star">*</span>
				<span class="verror"></span>
			</td>
		</tr>
		<tr>
			<td>权限标签：</td>
			<td>
				<input type="text" id="roles.authority" name="roles.authority" class="text_style"/>
				<span class="star">*</span>
				<span class="prompt">(如"ROLE_ADMIN")</span>
				<span class="verror"></span>
			</td>
		</tr>
		<tr>
			<td>角色描述：</td>
			<td>
				<textarea name="roles.description" class="textarea_style"></textarea>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<input type="submit" class="button" value="提 交 "/>
				<input type="reset" class="button" value="重 置 "/>
				<input type="button" class="button" onclick="top.Dialog.close()" value="取消"/>
			</td>
		</tr>
	</table>
	</form>
</div>
</body>
</html>